package actor;

import javax.annotation.Resource;

import org.springframework.stereotype.Controller;

import service.Analyser;
@Controller
public class PieActor implements Actor {
	@Resource(name="factorAnalyser")
	private Analyser analyser;
	
	public void setAnalyser(Analyser analyser) {
		this.analyser = analyser;
	}

	public void render() {
		analyser.analize();
		System.out.println("pie actor.....");
	}

}
